<?php
// 获得注销申请用户信息
// header("content-type:text/html;charset=UTF-8");

include_once("conn.php");

$select = "SELECT * FROM user_infos WHERE user_Status = '0'";
$result = mysqli_query($connect_DB, $select);
if ($result) {
    if (mysqli_num_rows($result) > 0) {
        while ($row = mysqli_fetch_object($result)) {
            echo "
            <div class='lists-div'>
                <div class='opt1'>" . $row->user_ID . "</div>
                <div class='opt1'>" . $row->user_Name . "</div>
                <div class='opt1'>" . $row->user_Phone . "</div>
                <div class='opt'><a href='a_dealUserAccout.php?action=agree&uid=".$row->user_ID."'>通过</a></div>
                <div class='opt'><a href='a_dealUserAccout.php?action=disagree&uid=".$row->user_ID."'>不通过</a></div>
            </div> ";
        }
    } else {
        echo "<div class='lists-div'><div class='opt'>暂无数据</div></div>";
    }
} else {
    echo "<div class='lists-div'><div class='opt'>查询出错" . $select . "</div></div>";
}

$connect_DB->close();
?>